package com.cy.ppj.dao.mapper.product;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.cy.ppj.model.domian.product.ProductRecommend;
import com.cy.ppj.model.query.ProductRecommendAdminQuery;
import com.cy.ppj.model.vo.ProductRecommendAdminVO;

import tk.mybatis.mapper.common.BaseMapper;

/**
 * 产品推荐
 * @author: tanyilin
 * @create: 2018年7月27日 下午5:34:19
 */
@Mapper
public interface ProductRecommendMapper extends BaseMapper<ProductRecommend>{
	
	int queryProductRecommendAdminCount(ProductRecommendAdminQuery productRecommendAdminQuery);
	
	List<ProductRecommendAdminVO> queryProductRecommendAdminList(ProductRecommendAdminQuery productRecommendAdminQuery);
	
	int insertOnDuplicateKeyUpdate(ProductRecommend productRecommend);
}
